Grok 4.6 vs Claude Sonnet 5

xAI Grok 4.6Anthropic Claude Claude Sonnet 5
VendorxAIAnthropic Claude
Context window500,0001,000,000
Max output2,000,000128,000
ReasoningYesYes
Tool callingYesYes
File inputYesYes
Inputtext, imagetext, image, file
Outputtexttext
Released2026-08-132026-06-30